﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ElsProp.Model
{
    public class zhuangBeiBianJiMode : ObservableObject
    {
        /// <summary>
        /// 属性
        /// </summary>
        private string _shuxingvalue;
        /// <summary>
        /// 属性
        /// </summary>
        public string shuxingvalue { get => _shuxingvalue; set => SetProperty(ref _shuxingvalue, value); }
        /// <summary>
        /// 套装名称
        /// </summary>
        private string _SuitName;
        /// <summary>
        /// 套装名称
        /// </summary>
        public string SuitName { get => _SuitName; set => SetProperty(ref _SuitName, value); }
        /// <summary>
        /// 套装列表
        /// </summary>
        private ObservableCollection<string> _suitList;
        /// <summary>
        /// 套装列表
        /// </summary>
        public ObservableCollection<string> suitList { get => _suitList; set => SetProperty(ref _suitList, value); }

        ///
        public SuitPropModel SuitData { get; set; }
        /// <summary>
        /// 属性计算
        /// </summary>
        /// <param name="props"></param>
        /// <exception cref="NotImplementedException"></exception>
        public void SubPropModel(List<PropModel> props)
        {
            shuxingvalue = MyHelp.SubPropModel(props,null);
         
        }
    }
}
